#pragma once

#include <MyControls/Panels.h>
#include <MyControls/PEditor.h>
#include <MyControls/ZoomEdit.h>
#include <MyControls/ZoomSlider.h>
#include <MyControls/ZoomIn.h>
#include <MyControls/ZoomOut.h>
#include <MyFC/ToolBar.h>	   

class MainFrame;

class DisplayPanel : public My::Panel {
public:
	DisplayPanel(MainFrame &);
public:
	virtual void ProcessEvent(My::Event &);
protected:
	virtual CSize GetMinClientSize() const;
	virtual void LayoutControls();
private:
	MainFrame &		m_Frame;
	My::PEditor		m_StyleEditor;
	My::ToolBar		m_Modes;
	My::ZoomEdit	m_ZoomEdit;
	My::ZoomIn		m_ZoomIn;
	My::ZoomOut		m_ZoomOut;
	My::ZoomSlider	m_ZoomSlider;
private:
	My::EventSubscription m_SequenceEvents;
};
